package com.hong.collections.blocking;

import java.util.concurrent.LinkedBlockingQueue;

/**
 * @Auther: Administrator
 * @Date: 2018/8/11 22:46
 * @Description:
 */
public class LinkedBlockingQueueExample {

    public <T>LinkedBlockingQueue<T> create(){
        return new LinkedBlockingQueue<>();
    }

    public <T>LinkedBlockingQueue<T> create(int capacity){
        return new LinkedBlockingQueue<>(capacity);
    }
}
